package com.zhxs.nfcscan.base.http.model;

import com.hjq.http.config.IRequestServer;

/**
 *    author : Android 轮子哥
 *    github : https://github.com/getActivity/AndroidProject
 *    time   : 2020/10/02
 *    desc   : 服务器配置
 */
public class RequestServer implements IRequestServer {
    private String serverIp;

    public RequestServer(String serverIp) {
        this.serverIp = serverIp;
    }

    @Override
    public String getHost() {
        return "http://"+serverIp+"/";
    }

}